<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Minesweeper</title>
    <link rel="stylesheet" href="./lib/minesweeper.css">
    <style>
        body {
            text-align: center;
        }
    </style>
</head>
<body>
    <h1>Minesweeper</h1>
    <div>
        模式：
        <select id="mode">
            <option value="1">简单</option>
            <option value="2">中等</option>
            <option value="3">困难</option>
            <option value="0">自定义</option>
        </select>
        <span id="custom" style="display: none;">
            行数：<input id="row" value="10" type="text" size="4">
            列数：<input id="col" value="10" type="text" size="4">
            雷数：<input id="mine" value="10" type="text" size="4">
        </span>
        <button id="start">开始</button>
    </div>
    <div id="app"></div>
    <script src="./lib/minesweeper.js"></script>
    <script src="./index.js"></script>
</body>
</html>